package com.example.demo.service;/**
 * @author Daog
 * @create 2020 -11 -2020-11-02 22:14
 * @description 功能描述
 */

import com.example.pojo.User;

import java.util.List;

/**
 * @program: demo_boot
 *
 * @description:
 *
 * @author: Dong
 *
 * @create: 2020-11-02 22:14
 **/
public interface UserService {

    //获取全部用户数据
    public List<User> getUserList();

    //新增用户数据
    public void createUser(User user);

    //获取指定id用户
    public User getUser(Long id);

    //更新制定ID用户
    public void updateUser(Long id,User user);

    //删除用户
    public void deleatUser(Long id);



}
